let gd = require("../servies/data.js")
module.exports = {
    router:async ctx => {
        await  ctx.render("index.html")
    },
    getdata: ctx => {
        let data = gd.getdata();
        ctx.body = data
    }
}